<script lang="tsx">

import {defineComponent, ref, computed, unref, watch, onMounted } from 'vue'

export default defineComponent({
  name:'',
  props:{

  },
  emits:[],
  setup(props, {slots, expose, emit}){

    onMounted(()=>{
      
    })

    //提供方法给父组件调用
    expose({
      
    })

    //watch()

    let dyncClass = "fontBig"
    let divClass = "fontC " + dyncClass
    let dynB = "fontC"
    let onClick = (params)=>{
   
    }
    return ()=>(
      <div class={divClass} onClick={()=>onClick("hello")}>hello</div>
        
    )
  }
})
</script>

<style scoped>
    .fontC{
        color: red;
    }

    .fontBig{
        font-size: 48px;
    }
</style>